<!-- start: Content -->
<div class="main">
    <!--面包屑 START-->
    <div class="row">
        <div class="col-lg-12">
            <h3 class="page-header"><i class="fa fa-trash-o"></i>回收站</h3>
            <ol class="breadcrumb">
                <li><i class="fa fa-home"></i><a href="/Admin">首页</a></li>
                <li><i class="fa fa-trash-o"></i>回收站</li>
            </ol>

        </div>
    </div>
    <!--面包屑 END-->

    <!--右侧内容主体 START-->
    <div class="row">
        <div class="col-lg-12">
            <div class="panel panel-default">
                <div class="panel-heading">
                    <h2><i class="fa fa-table red"></i><span class="break"></span><strong>回收站列表</strong></h2>
                    <div class="panel-actions">
                        <a href="javascript:;" class="btn-setting"><i class="fa fa-rotate-right"></i></a>
                        <a href="javascript:;" class="btn-minimize"><i class="fa fa-chevron-up"></i></a>
                        <a href="javascript:;" class="btn-close"><i class="fa fa-times"></i></a>
                    </div>
                </div>
                <div class="panel-body">
                    <table class="table table-striped table-bordered bootstrap-datatable datatable">
                        <thead>
                        <tr>
                            <th>ID</th>
                            <th>标题</th>
                            <th>分类</th>
                            <th>标签</th>
                            <th>点击量</th>
                            <th>评论量</th>
                            <th>审核状态</th>
                            <th>评论状态</th>
                            <th>置顶状态</th>
                            <th>推荐状态</th>
                            <th>作者</th>
                            <th>发布时间</th>
                            <th>修改时间</th>
                            <th>操作</th>
                        </tr>
                        </thead>
                        <if condition="$data['list']">
                            <tbody>
                            <foreach name="data.list" item="v">
                                <tr class="cp-del-categorg">
                                    <td>{$v['aid']}</td>
                                    <td>{$v['title']}</td>
                                    <td>{$v['cname']}</td>
                                    <td>{$v['tname']}</td>
                                    <td>{$v['hits']}</td>
                                    <td>{$v['comment_count']}</td>
                                    <td>
                                        <span class="label label-success"><if condition="$v['status']">已审核<else/>未审核</if></span>
                                    </td>
                                    <td>
                                        <span class="label label-info"><if condition="$v['comment_status']">开启<else/>关闭</if></span>
                                    </td>
                                    <td>
                                        <span class="label label-warning"><if condition="$v['is_top']">置顶<else/>不置顶</if></span>
                                    </td>
                                    <td>
                                        <span class="label label-danger"><if condition="$v['recommended']">推荐<else/>不推荐</if></span>
                                    </td>
                                    <td>{$v['author']}</td>
                                    <td>{$v.add_time|date="Y-m-d",###}</td>
                                    <td><if condition="$v['update_time']">{$v['update_time']|date="Y-m-d",###}</if></td>
                                    <td>
                                        <a class="btn btn-success cp-Trash Noline" href="javascript:;" title="还原" markId="{$v['aid']}" url="{:U('Trash/do_Trash')}" type="2">
                                            <i class="fa fa-mail-forward"></i>
                                        </a>
                                        <a class="btn btn-danger cp-del-data Noline" href="javascript:;" title="删除" url="{:U('Article/del_article')}" markId="{$v['aid']}">
                                            <i class="fa fa-trash-o"></i>
                                        </a>
                                    </td>
                                </tr>
                            </foreach>
                            </tbody>
                        </if>
                    </table>
                    <!--分页区域 START-->
                    <div style="text-align: left">
                        <ul class="pagination">
                            {$data.page}
                        </ul>
                    </div>
                    <!--分页区域 END-->
                </div>
            </div>
        </div><!--/col-->

    </div>
    <!--右侧内容主体 END-->
</div>
<!-- end: Content -->
